package com.sailing.core.demo.sync;

public class Test {
	public static void main(String[] args)   
    {    
         final SynchronizedTest myt2 = new SynchronizedTest();    
         Thread test1 = new Thread(  new Runnable() {  public void run() {  myt2.test1();  }  }, "test1"  );    
         //Thread test2 = new Thread(  new Runnable() {  public void run() { SynchronizedTest.test2();   }  }, "test2"  ); 
         Thread test3 = new Thread(  new Runnable() {  public void run() {  myt2.test3();  }  }, "test3"  );    
         //test1.start();  
         //test2.start(); 
         
         test3.start();
         test1.start();
    }   
}
